/* eslint-disable indent */
'use strict'

module.exports = {
    SeatCreate: {
        name: { type: 'string', required: true, description: '配置名称', example: '4K大屏' },
        pid: { type: 'number', required: true, description: '门店ID', example: 15421 },
        conf: { type: 'string', required: true, description: '配置JSON地址', example: 'http://xxx.com/xxx.json' },
        background: { type: 'string', required: true, description: '背景图地址', example: 'http://xxx.com/xxx.jpg' }
    },

    SeatEdit: {
        id: { type: 'number', required: true, description: 'ID', example: 111 },
        name: { type: 'string', required: false, description: '配置名称', example: '4K大屏' },
        pid: { type: 'number', required: false, description: '门店ID', example: 15421 },
        conf: { type: 'string', required: false, description: '配置信息地址', example: 'http://xxx.com/xxx.json' },
        background: { type: 'string', required: false, description: '背景图地址', example: 'http://xxx.com/xxx.jpg' }
    },

    SeatDelete: {
        id: { type: 'number', required: true, description: 'ID', example: 111 }
    },

    SeatGet: {
        pid: { type: 'number', required: true, description: '门店ID', example: 15421 }
    },

    SeatList: {
        pid: { type: 'number', required: false, description: '门店ID', example: 15421 },
        name: { type: 'string', required: false, description: '配置名称', example: '4K大屏' },
        pageIndex: { type: 'number', required: false, description: '页码', example: 1 },
        pageSize: { type: 'number', required: false, description: '每页数量', example: 10 }
    }


}
